package aggregation

type StatisticsItem struct {
	CustomerResponsiblePersonGUID string `json:"customer_responsible_person_guid" gorm:"column:CustomerResponsiblePersonGUID"`
	ClueResponsiblePersonGUID     string `json:"clue_responsible_person_guid" gorm:"column:ClueResponsiblePersonGUID"`
	Total                         int64  `json:"total"`
	UserCode                      string `json:"user_code"`
	UserName                      string `json:"user_name"`
}

type UseRankItem struct {
	Total    int64  `json:"total"`
	UserId   int64  `json:"user_id"`
	UserName string `json:"user_name"`
}

type BigDataUseNumRankRequest struct {
	TenantCode string `json:"tenant_code"`
	StartDate  string `json:"start_date"`
}

type BigDataUseNumRankResponse struct {
	RequestId string         `json:"requestId"`
	ErrCode   int            `json:"errCode"`
	ErrMsg    string         `json:"errMsg"`
	Data      []*UseRankItem `json:"data"`
	Sql       interface{}    `json:"sql"`
}
